//
//  NWOverlayView.h
//  noworry
//
//  Created by dl on 2017/10/21.
//  Copyright © 2017年 dl. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, NWOverlayStatus) {
    NWOverlayStatusRemove = 1,    //无提示
    NWOverlayStatusLoading,       //加载中
    NWOverlayStatusEmpty,         //数据空
    NWOverlayStatusError,         //网络错误
    NWOverlayStatusReload,        //重新加载
};

@interface NWOverlayView : UIView

@property (nonatomic, assign) NWOverlayStatus overlayStatus;
@property (nonatomic, copy) void (^reloadBlockIfErrOrReload)(NWOverlayView *view);
@end
